package com.yejhxt.inter;

import java.util.List;
import java.util.Map;

import com.yejhxt.model.device;

public interface deviceMapper {
    int deleteByPrimaryKey(Long deviceid);
    device selectByPrimaryKeyWithMessages(Map map);
    int insert(device record);
    List<device> selectByConditions(Map map);
              
    int insertSelective(device record);

    device selectByPrimaryKey(Long deviceid);

    int updateByPrimaryKeySelective(device record);

    int updateByPrimaryKey(device record);
    device selectBydevcoder(String devicecode);
    
}